Piwik\Tracker\Request D

Total Complexity 144
Dependencies 22
Dependents 113
Total lines 885
Lines of code 554
Logical lines of code 309
Comment lines 142
Methods 44
Properties 10

Methods 44

Method Rating Maintainability Complexity Lines of code
isRequestExcluded()
B
40 17 62
getCustomTimestamp()
A
43 14 45
getVisitorId()
A
45 12 42
getLocalTime()
A
52 9 23
authenticateSuperUserOrAdminOrWrite()
A
49 8 28
authenticateTrackingApi()
A
47 7 37
getParam()
S
39 4 69
__construct()
S
54 6 21
getVisitorIdForThirdPartyCookie()
S
55 6 20
replaceUnsupportedUtf8Chars()
S
56 5 17
setThirdPartyCookie()
S
56 4 18
getIdSite()
S
59 4 15
getIpString()
S
63 3 11
getThirdPartyCookieVisitorId()
S
64 3 10
getCurrentTimestamp()
S
66 3 9
isTimestampValid()
S
68 3 7
makeThirdPartyCookieUID()
S
62 2 12
getForcedUserId()
S
69 2 7
getPlugins()
S
65 2 8
getMetadata()
S
77 2 3
getUserAgent()
S
68 2 7
getVisitorIdAsBinary()
S
67 2 8
setParam()
S
68 2 7
isAuthenticated()
S
72 2 6
getBrowserLanguage()
S
78 1 3
getRawParams()
S
82 1 3
setMetadata()
S
79 1 3
getTokenAuth()
S
82 1 3
getUserIdHashed()
S
78 1 3
truncateIdAsVisitorId()
S
79 1 3
isEmptyRequest()
S
82 1 3
getForcedVisitorId()
S
80 1 3
getIdSiteUnverified()
S
71 1 5
getIp()
S
80 1 3
setCurrentTimestamp()
S
81 1 3
getGoalRevenue()
S
78 1 3
getCookieDomain()
S
80 1 3
getCookiePath()
S
80 1 3
getCookieExpire()
S
79 1 3
getCookieName()
S
80 1 3
hasParam()
S
79 1 3
getParams()
S
82 1 3
shouldUseThirdPartyCookie()
S
79 1 3
getCurrentDate()
S
79 1 3